package cn.group.xudy.service.Impl;

import cn.group.xudy.dao.TestDao;
import cn.group.xudy.mapper.claimsMapper;
import cn.group.xudy.model.ClaimsModel;
import cn.group.xudy.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Ulegal on 2017/9/28.
 */

@Service
public class TsetServiceImpl implements TestService {

    @Autowired
    TestDao testDao;

    @Autowired
    claimsMapper cla;

    @Override
    public List<Map<String, Object>> getListInfo() {

//        List<Map<String, Object>> list =  cla.find();

        return null;
    }

    @Override
    public List<ClaimsModel> getSelectById() {

//        Map<String, Object> maps = cla.selectClaimsName("98");

        List<ClaimsModel> list = cla.getAll();

        System.out.println("======="+list.size());

        return list;
    }
}














